package MicroSpring.applicationContext;

import MicroSpring.beanFactory.impl.DefaultListableBeanFactory;
import MicroSpring.beanFactoryPostProcessor.BeanFactoryPostProcessor;

/*
    全局接口:控制容器的行为
 */
public interface ConfigurableApplicationContext {

    void setClassLoader(ClassLoader classLoader);

    void addBeanFactoryPostProcessor(BeanFactoryPostProcessor postProcessor);

    void refresh();

    void close();

    boolean isActive();

    DefaultListableBeanFactory getBeanFactory();

}
